init("0", 1); --以当前应用 Home 键在右边初始化init(0,1)
function IamNewer()
	x, y = findColor({633, 453, 884, 546}, 
	"0|0|0x834c1a,19|1|0x834c1a,54|0|0x763c11,-1|12|0x7b4213",
	95, 0, 0, 0)
	CommonSleep(x,y)
end
function CommonSleep(x,y)
	if x > -1 then
		touchDown(1,x,y);
		mSleep(45);
		touchUp(1,x,y);
		mSleep(30)
	end
end
function UseTool()
	x, y = findColor({1029, 404, 1178, 622}, 
	"0|0|0x6d320b,12|13|0x72370d,41|3|0x824a19,50|8|0x6e330b,48|-4|0xf8d774,46|-7|0x8d5924",
	95, 0, 0, 0)
	CommonSleep(x,y)
end
function Fuli_0()
	x, y = findColor({3, 101, 82, 178}, 
	"0|0|0xaf621c,-10|9|0xd78832,-23|23|0xdccb96,-15|28|0xf0d78d",
	95, 0, 0, 0)
	CommonSleep(x,y)
end
function Fuli_1()
	x, y = findColor({211, 105, 356, 170}, 
	"0|0|0x854d17,17|5|0x6d320b,48|13|0x71370d,72|4|0x864e18,102|4|0x6e340b,110|16|0x834b18",
	95, 0, 0, 0)
	CommonSleep(x,y)
end
function Fuli_99()
	x, y = findColor({1058, 57, 1111, 104}, 
	"0|0|0xc01500,11|10|0xc80600,10|-5|0xba1103,-9|9|0xc40700,-8|-6|0xb80c00,-3|5|0xc20e00",
	95, 0, 0, 0)
	CommonSleep(x,y)
end
function Fuli_1_LingQu()
	Fuli_99()
	Fuli_0()
	x, y = findColor({937, 142, 1040, 188}, 
	"0|0|0xf7d36d,-31|1|0xb28768,28|9|0xdeccbf,-27|10|0x94592f,2|10|0xf2c65a,22|12|0xf8f4f1",
	95, 0, 0, 0)
	CommonSleep(x,y)
end
Fuli_1_LingQu()


